/*
 * Copyright (c) 2003-2004, Inversoft, All Rights Reserved
 */
package org.emergent.antbite.savant.log;


/**
 * <p>
 * This interface is used by the Savant build system to allow
 * hooks into any logging system to be written. Whenever the
 * Savant code logs, each listener registered with the
 * {@link LogManager} class will be notified.
 * </p>
 *
 * @author Brian Pontarelli
 */
public interface LogListener {

    /**
     * Handles a log message and level.
     *
     * @param   msg The message to be logged.
     * @param   level The level to log at.
     */
    void logged(String msg, String level);
}
